home comics writing pictures archive about

RequestViewArgs.cs

Language: C#
Last Modified: 2020-06-27 1:58:36 PM UTC
File Size: 483 bytes
http://www.penguinstew.ca/example/MVVMbase/ViewModelBase/RequestViewArgs.cs
using System;
namespace Penguin.MVVMBase.ViewModelBase
{
/// <summary>
/// EventArgs for RequestView event
/// </summary>
public class RequestViewArgs : EventArgs
{
/// <summary>
/// The viewModel to request the view for
/// </summary>
public IWindowViewModel ViewModel { get; set; }
public RequestViewArgs(IWindowViewModel viewModel)
{
ViewModel = viewModel;
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20